package com.cskaoyan.service;

import com.cskaoyan.bean.vo.AdminAdForListDataBean;
import com.cskaoyan.bean.vo.AdminAdForListItemBean;

public interface AdminAdService {
    AdminAdForListDataBean<AdminAdForListItemBean> queryAdByNameAndContent(Integer page, Integer limit, String name, String content, String sort, String order);

    Integer insertAd(AdminAdForListItemBean adBean);

    Integer updateAdByAdminAdForListItemBean(AdminAdForListItemBean adBean);

    AdminAdForListItemBean getAdminAdForListItemBeanById(Integer id);

    Integer deleteAdByAdminAdForListItemBean(AdminAdForListItemBean adBean);
}
